package mybatis.domain;

public class Post {
	private String id;
	private String subject;
	private String body;
	private String userId;
	
	@Override
	public String toString(){
		return String.format("%s, %s, %s",id,subject,body);
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
}
